package com.example.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author ysr_xian
 * @since 2022-05-29
 */
@Getter
@Setter
@TableName("device_info")
public class DeviceInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private String id;

    @TableField("device_name")
    private String deviceName;

    @TableField("current_bp_up")
    private Float currentBpUp;

    @TableField("current_bp_down")
    private Float currentBpDown;

    @TableField("current_bg")
    private Float currentBg;

    @TableField("border_bp_up_max")
    private Float borderBpUpMax;

    @TableField("border_bp_up_min")
    private Float borderBpUpMin;

    @TableField("border_bp_down_max")
    private Float borderBpDownMax;

    @TableField("border_bp_down_min")
    private Float borderBpDownMin;

    @TableField("border_bg_max")
    private Float borderBgMax;

    @TableField("border_bg_min")
    private Float borderBgMin;

    @TableField("last_alarm_date")
    private LocalDateTime lastAlarmDate;

    @TableField("last_online_date")
    private LocalDateTime lastOnlineDate;

    @TableField("connect_status")
    private Boolean connectStatus;

    @TableField("gmt_update")
    private LocalDateTime gmtUpdate;


}
